<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!--JSTL core tag need to add jstl 1.2 jar to lib-->
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<html>
<head><title>Struts 1 Training Materials</title>
</head>

<body>
<c:set var="root" value="${pageContext.request.contextPath}"/>
<div align="center">
    <center>
        <table border="1" cellspacing="1" width="400">
            <tr>
                <td width="390"><font size="4"><b>Struts 1 Config Controller</b></font></td>
            </tr>
            <tr>
                <td width="384">
                    <ul>
                        <li>
                            <a href="#">Configure Action Servlet - Controller</a>
                            <br>
                            Action Servlet need to configure in deployment descriptor. (web.xml)
                            >>>GOTO web.xml
                        </li>
                        <li>
                            <a href="#">Configure URL pattern</a>
                            <br>
                            Forward the type of request to action servlet. (web.xml)
                            >>>GOTO web.xml
                        </li>
                        <li>
                            <a href="#">Configure struts.config.xml</a>
                            <br>
                            Action servlet uses this configuration file to forward the request to appropriate action.
                            <br>
                            >>>GOTO struts-config.xml
                            <br>
                        </li>
                        <li>
                           <a href="${root}/strutsRequest.do">Test Me</a>
                        </li>
                        <li>
                            <html:link page="/strutsRequest.do">Test Me (using struts 1 tag libs)</html:link>
                        </li>
                    </ul>
                </td>
            </tr>
            <tr>
                <td>
                    <a href="${root}/index.jsp">HOME</a>
                </td>
            </tr>
        </table>
    </center>
</div>
</body>
</html>